<template>
  <div class="leave-handle-wrapper">
    <el-tabs v-model="activeName">
      <el-tab-pane label="待处理" name="LeaPending">
        <lea-pending></lea-pending>
      </el-tab-pane>
      <el-tab-pane label="已同意" name="LeaApproved">
        <lea-approved></lea-approved>
      </el-tab-pane>
      <el-tab-pane label="已拒绝" name="LeaRejected">
        <lea-rejected></lea-rejected>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import LeaPending from '../../components/leavehandle/LeaPending'
  import LeaApproved from '../../components/leavehandle/LeaApproved'
  import LeaRejected from '../../components/leavehandle/LeaRejected'

  export default {
    name: "LeaHandle",
    data() {
      return {
        activeName: 'LeaPending'
      }
    },
    components: {
      LeaPending,
      LeaApproved,
      LeaRejected
    }
  }
</script>

<style lang="less">

  .leave-handle-wrapper {
  }

</style>